|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectabstraction.ConvertPdf
public class ConvertPdf
This class has only a one method that takes a PDF file, reads and transform it in a String. To read from PDF file have been used library pdfbox.
| Constructor Summary | |
|---|---|
ConvertPdf()
|
|
| Method Summary | |
|---|---|
protected static java.lang.String |
GetTextFromPdf(java.lang.String filename)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConvertPdf()
| Method Detail |
|---|
protected static java.lang.String GetTextFromPdf(java.lang.String filename)
throws java.io.IOException,
java.lang.NoClassDefFoundError,
java.lang.Exception
filename - name's file to take in input
java.io.IOException - If there is an error releasing resources with clousure document
java.io.IOException - If an I/O error occurs
java.lang.NoClassDefFoundError - if not found class
if - catch some exception
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||